﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using bdxyit.com.RecruitmentAppSys.IDAL;
using bdxyit.com.RecruitmentAppSys.DALFactory;
using bdxyit.com.RecruitmentAppSys.Models;
using bdxyit.com.RecruitmentAppSys.ViewModels;

namespace bdxyit.com.RecruitmentAppSys.BLL
{
    public class ProfessionalListBLL
    {
        private static readonly IProfessionalListDAL ProfessionalListDal = DataAccess.CreateProfessionalList();
        public static List<ProfessionalList> SelectProfessionalList()
        {
            return ProfessionalListDal.SelectProfessionalList();
        }
        public static ProfessionalList SelectProfessionalListByProID(string ProID)
        {
            return ProfessionalListDal.SelectProfessionalListByProID(ProID);
        }
        public static bool DeleteProfessionalListByProID(string ProID)
        {
            return ProfessionalListDal.DeleteProfessionalList(ProID);
        }
        public static bool InsertProfessionalList(ProfessionalList cmodel)
        {
            return ProfessionalListDal.InsertProfessionalList(cmodel);
        }
        public static bool UpdateProfessionalList(ProfessionalList cmodel)
        {
            return ProfessionalListDal.UpdateProfessionalList(cmodel);
        }

    }
}
